package com.dgut.legalservice.domain;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

public class User {  //用户表   made by 叶富达
    private int id;         //	ID
    private String photoAttId;//头像 头像附件表ID
    private int belongDicId;//所属众创空间 关联字典表
    private int locationAreaId;//空间地址所在地区 关联区域表ID
    private int serviceAreaId;//可提供服务地区 关联区域表ID
    private int professionalType;//专业资质类型
    private int bestField;//擅长的领域 关联字典表ID
    private int profession;//专业 关联字典表ID
    private int docAttid;//执业证明文件 关联附件表ID
    private int createBy;//创建人
    private int UpdateBy;//修改人
    private String loginName;//登录名
    private String password;//密码
    private String realName;//真实名称
    private String sex;//性别
    private String email;//邮箱
    private String phoneNum;//联系电话
    private String address;//联系地址
    private String type;//用户类型
    private String status;//状态
    private String idCardNum;//身份证号码
    private String question;//忘记密码问题
    private String answer;//答案
    private String hasPush;//	是否绝接收平台推送
    private String telNum;//	固定电话
    private String postNum;//邮编
    private String lawyerNum;//执业律师证号
    private String legalOrg;//	所属律所或机构
    private String nowPosition;//现任职位
    private String lawsuitType;//	诉讼/非诉
    private String serviceYear;//法律服务经验
    private String certificateName;//	证书名称
    private LocalDate birthday;
    private LocalDateTime createTime;//	创建时间
    private LocalDateTime updateTime;//更新时间
    private String labourArgument;//	劳动争议
    private String intro;//个人简介

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhotoAttId() {
        return photoAttId;
    }

    public void setPhotoAttId(String photoAttId) {
        this.photoAttId = photoAttId;
    }

    public int getBelongDicId() {
        return belongDicId;
    }

    public void setBelongDicId(int belongDicId) {
        this.belongDicId = belongDicId;
    }

    public int getLocationAreaId() {
        return locationAreaId;
    }

    public void setLocationAreaId(int locationAreaId) {
        this.locationAreaId = locationAreaId;
    }

    public int getServiceAreaId() {
        return serviceAreaId;
    }

    public void setServiceAreaId(int serviceAreaId) {
        this.serviceAreaId = serviceAreaId;
    }

    public int getProfessionalType() {
        return professionalType;
    }

    public void setProfessionalType(int professionalType) {
        this.professionalType = professionalType;
    }

    public int getBestField() {
        return bestField;
    }

    public void setBestField(int bestField) {
        this.bestField = bestField;
    }

    public int getProfession() {
        return profession;
    }

    public void setProfession(int profession) {
        this.profession = profession;
    }

    public int getDocAttid() {
        return docAttid;
    }

    public void setDocAttid(int docAttid) {
        this.docAttid = docAttid;
    }

    public int getCreateBy() {
        return createBy;
    }

    public void setCreateBy(int createBy) {
        this.createBy = createBy;
    }

    public int getUpdateBy() {
        return UpdateBy;
    }

    public void setUpdateBy(int updateBy) {
        UpdateBy = updateBy;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIdCardNum() {
        return idCardNum;
    }

    public void setIdCardNum(String idCardNum) {
        this.idCardNum = idCardNum;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getHasPush() {
        return hasPush;
    }

    public void setHasPush(String hasPush) {
        this.hasPush = hasPush;
    }

    public String getTelNum() {
        return telNum;
    }

    public void setTelNum(String telNum) {
        this.telNum = telNum;
    }

    public String getPostNum() {
        return postNum;
    }

    public void setPostNum(String postNum) {
        this.postNum = postNum;
    }

    public String getLawyerNum() {
        return lawyerNum;
    }

    public void setLawyerNum(String lawyerNum) {
        this.lawyerNum = lawyerNum;
    }

    public String getLegalOrg() {
        return legalOrg;
    }

    public void setLegalOrg(String legalOrg) {
        this.legalOrg = legalOrg;
    }

    public String getNowPosition() {
        return nowPosition;
    }

    public void setNowPosition(String nowPosition) {
        this.nowPosition = nowPosition;
    }

    public String getLawsuitType() {
        return lawsuitType;
    }

    public void setLawsuitType(String lawsuitType) {
        this.lawsuitType = lawsuitType;
    }

    public String getServiceYear() {
        return serviceYear;
    }

    public void setServiceYear(String serviceYear) {
        this.serviceYear = serviceYear;
    }

    public String getCertificateName() {
        return certificateName;
    }

    public void setCertificateName(String certificateName) {
        this.certificateName = certificateName;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getLabourArgument() {
        return labourArgument;
    }

    public void setLabourArgument(String labourArgument) {
        this.labourArgument = labourArgument;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "id=" + id +
                ", photoAttId=" + photoAttId +
                ", belongDicId=" + belongDicId +
                ", locationAreaId=" + locationAreaId +
                ", serviceAreaId=" + serviceAreaId +
                ", professionalType=" + professionalType +
                ", bestField=" + bestField +
                ", profession=" + profession +
                ", docAttid=" + docAttid +
                ", createBy=" + createBy +
                ", UpdateBy=" + UpdateBy +
                ", loginName='" + loginName + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", sex='" + sex + '\'' +
                ", email='" + email + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", address='" + address + '\'' +
                ", type='" + type + '\'' +
                ", status='" + status + '\'' +
                ", idCardNum='" + idCardNum + '\'' +
                ", question='" + question + '\'' +
                ", answer='" + answer + '\'' +
                ", hasPush='" + hasPush + '\'' +
                ", telNum='" + telNum + '\'' +
                ", postNum='" + postNum + '\'' +
                ", lawyerNum='" + lawyerNum + '\'' +
                ", legalOrg='" + legalOrg + '\'' +
                ", nowPosition='" + nowPosition + '\'' +
                ", lawsuitType='" + lawsuitType + '\'' +
                ", serviceYear='" + serviceYear + '\'' +
                ", certificateName='" + certificateName + '\'' +
                ", birthday=" + birthday +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", labourArgument='" + labourArgument + '\'' +
                ", intro='" + intro + '\'' +
                '}';
    }
}
